package com.example.demo.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author ChoviWu
 * @date 2018/12/7
 * Description :
 */
@FeignClient(name = "ORDERS")
public interface OrderClient {

    @RequestMapping("/order/hello")
    String hello(@RequestParam("hello") String hello);
}
